package com.jinly.ryder.common.service.model.setting;

import com.jinly.ryder.common.service.model.SettingModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@SettingModel(name = "jenkins", desc = "Jenkins配置")
public class JenkinsSetting {
    @NotBlank(message = "Jenkins【Url】没有配置")
    private String url;
    @NotBlank(message = "Jenkins【用户名】没有配置")
    private String username;
    @NotBlank(message = "Jenkins【Token】没有配置")
    private String password;

    @NotBlank(message = "Jenkins【Git】没有配置")
    private String gitCredentialsId;
}
